#Requires AutoHotkey v2
#include ..\Lib\ImagePut.2.ahk

F12:: {
  ;screenshot := ImagePutWindow("ahk_exe flycast.exe", playback:=False)
  fpath := "E:\MyGameE\flycast-win-2-3\snap\"
  fname := fpath . A_Now . '_' . Random(999999) . ".png"
  ImagePutFile("ahk_exe flycast.exe", fname)
  ToolTip(fname, 200, 150)
  Sleep(1000)
  ToolTip()
}
